Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a new deploy role #250

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

create a new deploy role #250

wants to merge 3 commits into from

Conversation

kayiwa
Copy link
Collaborator

@kayiwa kayiwa commented Nov 25, 2024

consolidate the create and close tasks into one role
remove the create_deployment and close_deployment role

kayiwa and others added 3 commits December 12, 2024 13:18
consolidate the create and close tasks into one role
remove the create_deployment and close_deployment role
I am not sure we want to add verification on molecule but this is what
it would look like.
Describe dependencies

Co-authored-by: Beck Davis <[email protected]>
Co-authored-by: Vickie Karasic <[email protected]>
@kayiwa kayiwa marked this pull request as ready for review December 12, 2024 18:28
@kayiwa kayiwa requested a review from rlskoeser December 12, 2024 18:28
Copy link
Contributor

@rlskoeser rlskoeser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay on reviewing this.

Nick had proposed previously in this issue #45 that these two tasks go into a role named github since the logic is specific to the github api / github deployments. What do you think about that? I think calling the role "deploy" is misleading / ambiguous.

I think the create deployment and close deployment steps need to be separate tasks - right now they are both in the main tasks. Does this allow us to run the create deploy at the beginning of a playbook and then close it at the end of the playbook?

This fail task is littered throughout the other roles (unfortunately) - I'm excited that we're closer to fixing it, but it touches a lot of parts of cdh-ansible. Is there a way to stage it? Can we include the task in the new location for now and start updating roles and playbooks to use the create and fail tasks

Role Name
=========

Role that deploys CDH applications
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Role that deploys CDH applications
Role that creates and updates GitHub deployments when deploying CDH applications to reflect status and environment of application deployments.

---
galaxy_info:
role_name: deploy
company: Princeton University Library
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CDH ? or both CDH & PUL ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants